﻿namespace DbDiff.WinClient.Helper
{
    public class EventStatusInfo 
    {
        #region Fields & properties
        private string _id;
        private string _description;
        private EventState _state;
        private EventResult _result;

        public int OriginalOrdeer { get; private set; }

        public string Id 
        {
            get {return _id;}
        }
        public string Description 
        {
            get {return _description;}
        }
        public EventState State 
        {
            get {return _state;}
            set {_state = value;}
        }
        public EventResult Result 
        {
            get {return _result;}
            set {_result = value;}
        }
        #endregion Fields & properties

        #region Constructors
        public EventStatusInfo(string id, string description, int order) 
        {
            _state = EventState.Waiting;
            _result = EventResult.None;
            _id = id;
            _description = description;
            this.OriginalOrdeer = order;
        }
        #endregion Constructors
    }
}